﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;


namespace TyMES.ViewModel.BaseInformation.DqOrderVMs
{
    public partial class DqOrderBatchVM : BaseBatchVM<DqOrder, DqOrder_BatchEdit>
    {
        public DqOrderBatchVM()
        {
            ListVM = new DqOrderListVM();
            LinkedVM = new DqOrder_BatchEdit();
        }

    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class DqOrder_BatchEdit : BaseVM
    {
        [Display(Name = "工厂编号")]
        public String factoryCode { get; set; }
        [Display(Name = "产线编号")]
        public String lineCode { get; set; }
        [Display(Name = "产线名称")]
        public String lineName { get; set; }
        [Display(Name = "主排程号")]
        public String scheduleNumber { get; set; }
        [Display(Name = "计划开始时间")]
        public DateTime? startTime { get; set; }
        [Display(Name = "计划结束时间")]
        public DateTime? endTime { get; set; }
        [Display(Name = "工单编码")]
        public String orderCode { get; set; }
        [Display(Name = "工单数量")]
        public String orderQty { get; set; }
        [Display(Name = "工单类型")]
        public String orderType { get; set; }
        [Display(Name = "工单状态")]
        public String orderStatus { get; set; }
        [Display(Name = "工单状态编码")]
        public String orderStateCode { get; set; }
        [Display(Name = "工单开始时间")]
        public DateTime? orderStartTime { get; set; }
        [Display(Name = "工单结束时间时间")]
        public DateTime? orderEndTime { get; set; }
        [Display(Name = "排程编码")]
        public String scheduleCode { get; set; }
        [Display(Name = "排程数量")]
        public String scheduleQty { get; set; }
        [Display(Name = "排程状态")]
        public String scheduleStatus { get; set; }
        [Display(Name = "排程状态编码")]
        public String scheduleStateCode { get; set; }
        [Display(Name = "排程开始时间")]
        public DateTime? scheduleStartTime { get; set; }
        [Display(Name = "排程结束时间")]
        public DateTime? scheduleEndTime { get; set; }
        [Display(Name = "产品编码")]
        public String productCode { get; set; }
        [Display(Name = "产品名称")]
        public String productName { get; set; }
        [Display(Name = "产品版本")]
        public String productVersion { get; set; }
        [Display(Name = "物料编码")]
        public String materialCode { get; set; }
        [Display(Name = "物料名称")]
        public String materialName { get; set; }
        [Display(Name = "物料版本")]
        public String materialVersion { get; set; }
        [Display(Name = "工艺编号")]
        public String routeCode { get; set; }
        [Display(Name = "工艺名称")]
        public String routeName { get; set; }
        [Display(Name = "工艺路线版本")]
        public String routeVersion { get; set; }
        [Display(Name = "priority")]
        public Int32? priority { get; set; }

        protected override void InitVM()
        {
        }

    }

}
